package com.example.sjly.ui.scheduling.room;

import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;

import java.util.List;

import static android.icu.text.MessagePattern.ArgType.SELECT;

//填写界面
@Dao
public interface TOrderInDAO {

    @Insert
    void insert(TOrderIn...TIOrderMess);

    @Query("Select * from TOrderMessageIn")
    List<TOrderIn> getAll();

    @Delete()
    void delete(TOrderIn TOrderin);

    @Query("SELECT * From TOrderMessageIn where id=:i")
    TOrderIn getByID(int i);
}
